package org.example.demo;


import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;

@WebServlet(name = "helloServlet", value = "/chaxun")

public class chaxu  extends HelloServlet{
    private String message;

    public void init() {
        message = "wuaoyu";
    }
    public void doGet(HttpServletRequest request, HttpServletResponse resp) throws IOException{
        resp.setContentType("application/json");
        resp.setCharacterEncoding("UTF-8");
         PrintWriter out = resp.getWriter();
    }
}
